package com.indusfo.spc.pda.controller;

import com.indusfo.spc.pda.pojo.StationDosingDetail;
import com.indusfo.spc.pda.service.StationDosingDetailService;
import com.indusfo.spc.vo.JSONObject;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @ClassName StationDosingDetailController
 * @Description
 * @Author louk
 * @Date 2019/12/26 16:52
 */
@RestController
@RequestMapping("/pda/stationDosingDetail")
public class StationDosingDetailController {

    @Resource
    StationDosingDetailService stationDosingDetailService;
    @RequestMapping("insertStationDosingDetail")
    @ResponseBody
    public JSONObject insertStationDosingDetail(StationDosingDetail stationDosingDetail){
        return  stationDosingDetailService.insertStationDosingDetail(stationDosingDetail);
    }
}
